<div class="row nav nav-boxes checked-current mv-30 {{if (eq currentTarget 'embedded') 'embedded'}}  logging-targets">
  {{#each targets as |target|}}
    {{#if target.available}}
      {{#link-to "logging" (query-params targetType=target.type)
        alt=target.label
        classNames="col span-2 nav-box-item driver"
        disabled=target.disabled
        href=false
      }}
      <div class="{{target.css}}"></div>
        {{#if target.label}}
          <p>{{t target.label}}</p>
        {{/if}}
      {{/link-to}}
    {{/if}}
  {{/each}}
</div>

<section>
  <div class="text-center text-muted">
    {{#if (eq targetTypeName 'none')}}
      {{#if hasCurrentTarget}}
        {{t 'loggingPage.targetNav.tips.caseB' pageScope=pageScope currentTarget=currentTarget htmlSafe=true}}
      {{else}}
        {{t 'loggingPage.targetNav.tips.caseA' pageScope=pageScope}}
      {{/if}}
    {{else if hasCurrentTarget}}
        {{t 'loggingPage.targetNav.tips.caseC' currentTarget=currentTarget htmlSafe=true}}
      {{#unless (eq currentTarget targetTypeName)}}
        {{t 'loggingPage.targetNav.tips.caseD' targetType=targetTypeName htmlSafe=true}}
      {{else}}
        {{t 'loggingPage.targetNav.tips.caseE' targetType=targetTypeName htmlSafe=true}}
      {{/unless}}
    {{else}}
      {{t 'loggingPage.targetNav.tips.caseF' targetType=targetTypeName htmlSafe=true}}
    {{/if}}
  </div>
  <hr/>
</section>
